<h1>Employes List</h1>

<table>
  <thead>
    <tr>
      <th>Id employe</th>
      <th>Nom employe</th>
      <th>Prenom employe</th>
      <th>Sexe employe</th>
      <th>Naissance employe</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($employes as $employe): ?>
    <tr>
      <td><a href="<?php echo url_for('Employe/show?id_employe='.$employe->getIdEmploye()) ?>"><?php echo $employe->getIdEmploye() ?></a></td>
      <td><?php echo $employe->getNomEmploye() ?></td>
      <td><?php echo $employe->getPrenomEmploye() ?></td>
      <td><?php echo $employe->getSexeEmploye() ?></td>
      <td><?php echo $employe->getNaissanceEmploye() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Employe/new') ?>">New</a>
